package com.yxtec.sc;

import com.yxtec.sc.model.User;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by jerrie on 17-6-28.
 */
@FeignClient("sc1-service")
public interface UserServiceClient {

    @RequestMapping(method = RequestMethod.GET, value = "/user")
    User user();

}
